package com.cxs.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
  * @Author CXS
  * @Date 2023/11/14 16:35
**/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_dict")
public class TDict implements Serializable {
    /**
     * 字典id
     */
    @TableId(value = "dict_id", type = IdType.INPUT)
    private Long dictId;

    /**
     * 字典类型
     */
    @TableField(value = "type")
    private String type;

    /**
     * 字典编码
     */
    @TableField(value = "code")
    private String code;

    /**
     * 字典值
     */
    @TableField(value = "value")
    private String value;

    private static final long serialVersionUID = 1L;

    public static final String COL_DICT_ID = "dict_id";

    public static final String COL_TYPE = "type";

    public static final String COL_CODE = "code";

    public static final String COL_VALUE = "value";
}